#ifndef I2C_DRV_H
#define I2C_DRV_H

#ifdef __cpluscplus
extern "C" {
#endif

void i2c_write_bytes(int fd,unsigned char i2c_address , unsigned char reg_address, unsigned char* data, unsigned short len);
void i2c_read_bytes(int fd,unsigned char i2c_address , unsigned char reg_address, unsigned char* buf, unsigned short len);
void i2c_read_bytes_delay(int fd,unsigned char i2c_address , unsigned char reg_address, unsigned char* buf, unsigned short len);

#ifdef __cpluscplus
}
#endif

#endif // I2C_DRV_H
